package com.yj.timecapsule.entity.user.vo;

import com.yj.timecapsule.entity.diaries.vo.DiariesVo;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author Sean
 * @CreateTime 2024-08-03  16:44
 * @Description
 * @Version 1.0
 */
@Data
@Builder
public class UserVo implements Serializable {
    private Long id;
    private String username;
    private String phone;
    private String avatar;
    /**
     * 注册时间
     */
    private Date createdAt;
    /**
     * 点赞过的日记数量
     */
    private Long likesCount;
    private Long friendsCount;
    /**
     * 点赞的日记列表
     */
    private List<DiariesVo> likesDiariesVoList;
    /**
     * 发布的日记列表
     */
    private List<DiariesVo> publishDiariesList;
    /**
     * 发布的日记数量
     */
    private Long publishCount;

}
